import 'package:flutter/material.dart';
import 'package:smartidea_shop/smartidea_shop.dart';

class MyHome extends StatelessWidget {
  MyHome({Key? key}) : super(key: key) {
    print('myhome---');
  }

  @override
  Widget build(BuildContext context) {
    const String _loginToken = 'loginToken:azsdasdasd123';
    final String navigateTo =
        "/webview?url=${Uri.encodeComponent('http://118.190.144.187/u-pages/smart-shop/user')}";
    return SmartideaShop(
      loginToken: _loginToken,
      navigateTo: navigateTo,
    );
  }
}
